<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Simulateur du jeu d&#39;instructions d&#39;un processeur simple: Référence du fichier instruction.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Simulateur du jeu d'instructions d'un processeur simple</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('instruction_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Structures de données</a> &#124;
<a href="#typedef-members">Définition de type</a> &#124;
<a href="#enum-members">Énumérations</a> &#124;
<a href="#func-members">Fonctions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier instruction.h</div>  </div>
</div>
<div class="contents">

<p>Description du jeu d'instruction.  
<a href="#details">Plus de détails...</a></p>
<div class="textblock"><code>#include &lt;stdbool.h&gt;</code><br/>
<code>#include &lt;stdint.h&gt;</code><br/>
</div><div class="textblock"><div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Graphe des dépendances par inclusion de instruction.h:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="instruction_8h__incl.png" border="0" usemap="#instruction_8h" alt=""/></div>
<map name="instruction_8h" id="instruction_8h">
</map>
</div>
</div><div class="textblock"><div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="instruction_8h__dep__incl.png" border="0" usemap="#instruction_8hdep" alt=""/></div>
<map name="instruction_8hdep" id="instruction_8hdep">
<area shape="rect" id="node3" href="machine_8h.html" title="Description de la structure du processeur et de sa mémoire." alt="" coords="200,83,291,112"/><area shape="rect" id="node5" href="debug_8h.html" title="Fonctions de mise au point interactive." alt="" coords="5,160,80,189"/><area shape="rect" id="node7" href="test__simul_8c.html" title="Test du simulateur." alt="" coords="28,237,132,267"/><area shape="rect" id="node9" href="prog__simple_8c.html" title="Examples/prog_simple.c" alt="" coords="155,160,336,189"/><area shape="rect" id="node11" href="prog__subroutine_8c.html" title="Examples/prog_subroutine.c" alt="" coords="360,160,571,189"/><area shape="rect" id="node13" href="exec_8h.html" title="Exécution d&#39;une instruction." alt="" coords="595,160,661,189"/></map>
</div>
</div>
<p><a href="instruction_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Structures de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">union &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionInstruction.html">Instruction</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Structure d'une instruction.  <a href="unionInstruction.html#details">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="typedef-members"></a>
Définition de type</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#a0b5b15ce5f3a75b5dd0de6643cd3d958">Word</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Type d'un mot de donnée.  <a href="#a0b5b15ce5f3a75b5dd0de6643cd3d958"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Énumérations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6">Code_Op</a> { <br/>
&#160;&#160;<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad1bcea5caa46727ab4e411cffaa236f2">ILLOP</a> =  0, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6af811bef354b292ff0713c50d7652c026">NOP</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a972dbcdf74cff71e20bdcfb53be9c391">LOAD</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6afeb01cb4572ba190cd7932e49446c480">STORE</a>, 
<br/>
&#160;&#160;<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6acfcf145f2788bf340ff3f3098bc54909">ADD</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a12b733d4941495e86811fe6ceeeff9da">SUB</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad9b20a9207fb2cd3021b9eb0b7c6fe5e">BRANCH</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6abd0ebc08c262bab82a1882256d2d66e8">CALL</a>, 
<br/>
&#160;&#160;<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ab2510768eaba5e52ba71678e19a65464">RET</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad263caec619c4d99e4684ba0fabd9493">PUSH</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a061dcf4785583d8653942f2d252174fa">POP</a>, 
<a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6aa2fd6bbb0c07e28e835ba595e64df78c">HALT</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Codes opérations.  <a href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6">Plus de détails...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8">Condition</a> { <br/>
&#160;&#160;<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a3dbd1016ea99d087d747530418b89a01">NC</a>, 
<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a9efdc855f3c1477957fb50affec07f8f">EQ</a>, 
<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a4d3f872f5054b256b01ee4f2c8cf51db">NE</a>, 
<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a12f5476fa04803e6cc72f2198730d892">GT</a>, 
<br/>
&#160;&#160;<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a558711b4a2a25070b970d85f5926d5ce">GE</a>, 
<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a486aa221ceeeac475326e85d3d37f571">LT</a>, 
<a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a662ed4b51721a45f07d645d4ca099a61">LE</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Conditions.  <a href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#a437080d5e8c504588a47d0dba468492f">print_instruction</a> (<a class="el" href="unionInstruction.html">Instruction</a> instr, unsigned addr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Impression d'une instruction sous forme lisible (désassemblage)  <a href="#a437080d5e8c504588a47d0dba468492f"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#ae5e0c6bef1ffc3adc867e3ea4b9a57c3">cop_names</a> []</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Forme imprimable des codes opérations.  <a href="#ae5e0c6bef1ffc3adc867e3ea4b9a57c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="instruction_8h.html#a4cf35570c7b75e596c642031544688e0">condition_names</a> []</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Forme imprimable des conditions.  <a href="#a4cf35570c7b75e596c642031544688e0"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>Description du jeu d'instruction. </p>

<p>Définition dans le fichier <a class="el" href="instruction_8h_source.html">instruction.h</a>.</p>
</div><hr/><h2>Documentation des définitions de type</h2>
<a class="anchor" id="a0b5b15ce5f3a75b5dd0de6643cd3d958"></a><!-- doxytag: member="instruction.h::Word" ref="a0b5b15ce5f3a75b5dd0de6643cd3d958" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef uint32_t <a class="el" href="instruction_8h.html#a0b5b15ce5f3a75b5dd0de6643cd3d958">Word</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Type d'un mot de donnée. </p>

<p>Définition à la ligne <a class="el" href="instruction_8h_source.html#l00124">124</a> du fichier <a class="el" href="instruction_8h_source.html">instruction.h</a>.</p>

</div>
</div>
<hr/><h2>Documentation du type de l'énumération</h2>
<a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6"></a><!-- doxytag: member="instruction.h::Code_Op" ref="a5ead9d7413d75b14e895c945daa82de6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6">Code_Op</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Codes opérations. </p>
<dl><dt><b>Valeurs énumérées: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6ad1bcea5caa46727ab4e411cffaa236f2"></a><!-- doxytag: member="ILLOP" ref="a5ead9d7413d75b14e895c945daa82de6ad1bcea5caa46727ab4e411cffaa236f2" args="" -->ILLOP</em>&nbsp;</td><td>
<p><a class="el" href="unionInstruction.html" title="Structure d&#39;une instruction.">Instruction</a> illégale. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6af811bef354b292ff0713c50d7652c026"></a><!-- doxytag: member="NOP" ref="a5ead9d7413d75b14e895c945daa82de6af811bef354b292ff0713c50d7652c026" args="" -->NOP</em>&nbsp;</td><td>
<p><a class="el" href="unionInstruction.html" title="Structure d&#39;une instruction.">Instruction</a> sans effet. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6a972dbcdf74cff71e20bdcfb53be9c391"></a><!-- doxytag: member="LOAD" ref="a5ead9d7413d75b14e895c945daa82de6a972dbcdf74cff71e20bdcfb53be9c391" args="" -->LOAD</em>&nbsp;</td><td>
<p>Chargement d'un registre. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6afeb01cb4572ba190cd7932e49446c480"></a><!-- doxytag: member="STORE" ref="a5ead9d7413d75b14e895c945daa82de6afeb01cb4572ba190cd7932e49446c480" args="" -->STORE</em>&nbsp;</td><td>
<p>Rangement du contenu d'un registre. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6acfcf145f2788bf340ff3f3098bc54909"></a><!-- doxytag: member="ADD" ref="a5ead9d7413d75b14e895c945daa82de6acfcf145f2788bf340ff3f3098bc54909" args="" -->ADD</em>&nbsp;</td><td>
<p>Addition à un registre. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6a12b733d4941495e86811fe6ceeeff9da"></a><!-- doxytag: member="SUB" ref="a5ead9d7413d75b14e895c945daa82de6a12b733d4941495e86811fe6ceeeff9da" args="" -->SUB</em>&nbsp;</td><td>
<p>Soustraction d'un registre. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6ad9b20a9207fb2cd3021b9eb0b7c6fe5e"></a><!-- doxytag: member="BRANCH" ref="a5ead9d7413d75b14e895c945daa82de6ad9b20a9207fb2cd3021b9eb0b7c6fe5e" args="" -->BRANCH</em>&nbsp;</td><td>
<p>Branchement conditionnel ou non. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6abd0ebc08c262bab82a1882256d2d66e8"></a><!-- doxytag: member="CALL" ref="a5ead9d7413d75b14e895c945daa82de6abd0ebc08c262bab82a1882256d2d66e8" args="" -->CALL</em>&nbsp;</td><td>
<p>Appel de sous-programme. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6ab2510768eaba5e52ba71678e19a65464"></a><!-- doxytag: member="RET" ref="a5ead9d7413d75b14e895c945daa82de6ab2510768eaba5e52ba71678e19a65464" args="" -->RET</em>&nbsp;</td><td>
<p>Retour de sous-programme. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6ad263caec619c4d99e4684ba0fabd9493"></a><!-- doxytag: member="PUSH" ref="a5ead9d7413d75b14e895c945daa82de6ad263caec619c4d99e4684ba0fabd9493" args="" -->PUSH</em>&nbsp;</td><td>
<p>Empilement sur la pile d'exécution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6a061dcf4785583d8653942f2d252174fa"></a><!-- doxytag: member="POP" ref="a5ead9d7413d75b14e895c945daa82de6a061dcf4785583d8653942f2d252174fa" args="" -->POP</em>&nbsp;</td><td>
<p>Dépilement de la pile d'exécution. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a5ead9d7413d75b14e895c945daa82de6aa2fd6bbb0c07e28e835ba595e64df78c"></a><!-- doxytag: member="HALT" ref="a5ead9d7413d75b14e895c945daa82de6aa2fd6bbb0c07e28e835ba595e64df78c" args="" -->HALT</em>&nbsp;</td><td>
<p>Arrêt (normal) du programme. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Définition à la ligne <a class="el" href="instruction_8h_source.html#l00013">13</a> du fichier <a class="el" href="instruction_8h_source.html">instruction.h</a>.</p>
<div class="fragment"><pre class="fragment">{
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad1bcea5caa46727ab4e411cffaa236f2" title="Instruction illégale.">ILLOP</a> = 0,  
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6af811bef354b292ff0713c50d7652c026" title="Instruction sans effet.">NOP</a>,    
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a972dbcdf74cff71e20bdcfb53be9c391" title="Chargement d&#39;un registre.">LOAD</a>,   
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6afeb01cb4572ba190cd7932e49446c480" title="Rangement du contenu d&#39;un registre.">STORE</a>,  
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6acfcf145f2788bf340ff3f3098bc54909" title="Addition à un registre.">ADD</a>,    
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a12b733d4941495e86811fe6ceeeff9da" title="Soustraction d&#39;un registre.">SUB</a>,    
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad9b20a9207fb2cd3021b9eb0b7c6fe5e" title="Branchement conditionnel ou non.">BRANCH</a>, 
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6abd0ebc08c262bab82a1882256d2d66e8" title="Appel de sous-programme.">CALL</a>,   
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ab2510768eaba5e52ba71678e19a65464" title="Retour de sous-programme.">RET</a>,    
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6ad263caec619c4d99e4684ba0fabd9493" title="Empilement sur la pile d&#39;exécution.">PUSH</a>,   
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6a061dcf4785583d8653942f2d252174fa" title="Dépilement de la pile d&#39;exécution.">POP</a>,    
    <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6aa2fd6bbb0c07e28e835ba595e64df78c" title="Arrêt (normal) du programme.">HALT</a>,   
} <a class="code" href="instruction_8h.html#a5ead9d7413d75b14e895c945daa82de6" title="Codes opérations.">Code_Op</a>;
</pre></div>
</div>
</div>
<a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8"></a><!-- doxytag: member="instruction.h::Condition" ref="ab6d907c41d48048e1eb203e15f2fc9a8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8">Condition</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Conditions. </p>
<p>Ces valeurs sont associées à l'instruction de branchement (<code>BRANCH</code> et <code>CALL</code>) et déterminent la condition à tester par référence à la valeur du code condition (<a class="el" href="machine_8h.html#a4bc92b6f72076bb5dd651a143f58a2c3">Condition_Code</a>).</p>
<p>Une valeur de ce type remplace le numéro de registres dans les isntructions <code>BRANCH</code> et <code>CALL</code>. </p>
<dl><dt><b>Valeurs énumérées: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a3dbd1016ea99d087d747530418b89a01"></a><!-- doxytag: member="NC" ref="ab6d907c41d48048e1eb203e15f2fc9a8a3dbd1016ea99d087d747530418b89a01" args="" -->NC</em>&nbsp;</td><td>
<p>Pas de condition (nrachement inconditionnel) </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a9efdc855f3c1477957fb50affec07f8f"></a><!-- doxytag: member="EQ" ref="ab6d907c41d48048e1eb203e15f2fc9a8a9efdc855f3c1477957fb50affec07f8f" args="" -->EQ</em>&nbsp;</td><td>
<p>Égal à 0. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a4d3f872f5054b256b01ee4f2c8cf51db"></a><!-- doxytag: member="NE" ref="ab6d907c41d48048e1eb203e15f2fc9a8a4d3f872f5054b256b01ee4f2c8cf51db" args="" -->NE</em>&nbsp;</td><td>
<p>Différent de 0. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a12f5476fa04803e6cc72f2198730d892"></a><!-- doxytag: member="GT" ref="ab6d907c41d48048e1eb203e15f2fc9a8a12f5476fa04803e6cc72f2198730d892" args="" -->GT</em>&nbsp;</td><td>
<p>Strictement positif. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a558711b4a2a25070b970d85f5926d5ce"></a><!-- doxytag: member="GE" ref="ab6d907c41d48048e1eb203e15f2fc9a8a558711b4a2a25070b970d85f5926d5ce" args="" -->GE</em>&nbsp;</td><td>
<p>Positif ou nul. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a486aa221ceeeac475326e85d3d37f571"></a><!-- doxytag: member="LT" ref="ab6d907c41d48048e1eb203e15f2fc9a8a486aa221ceeeac475326e85d3d37f571" args="" -->LT</em>&nbsp;</td><td>
<p>Strictement négatif. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ab6d907c41d48048e1eb203e15f2fc9a8a662ed4b51721a45f07d645d4ca099a61"></a><!-- doxytag: member="LE" ref="ab6d907c41d48048e1eb203e15f2fc9a8a662ed4b51721a45f07d645d4ca099a61" args="" -->LE</em>&nbsp;</td><td>
<p>Négatif ou null. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Définition à la ligne <a class="el" href="instruction_8h_source.html#l00109">109</a> du fichier <a class="el" href="instruction_8h_source.html">instruction.h</a>.</p>
<div class="fragment"><pre class="fragment">{
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a3dbd1016ea99d087d747530418b89a01" title="Pas de condition (nrachement inconditionnel)">NC</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a9efdc855f3c1477957fb50affec07f8f" title="Égal à 0.">EQ</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a4d3f872f5054b256b01ee4f2c8cf51db" title="Différent de 0.">NE</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a12f5476fa04803e6cc72f2198730d892" title="Strictement positif.">GT</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a558711b4a2a25070b970d85f5926d5ce" title="Positif ou nul.">GE</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a486aa221ceeeac475326e85d3d37f571" title="Strictement négatif.">LT</a>, 
    <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8a662ed4b51721a45f07d645d4ca099a61" title="Négatif ou null.">LE</a>, 
} <a class="code" href="instruction_8h.html#ab6d907c41d48048e1eb203e15f2fc9a8" title="Conditions.">Condition</a>;
</pre></div>
</div>
</div>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="a437080d5e8c504588a47d0dba468492f"></a><!-- doxytag: member="instruction.h::print_instruction" ref="a437080d5e8c504588a47d0dba468492f" args="(Instruction instr, unsigned addr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void print_instruction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unionInstruction.html">Instruction</a>&#160;</td>
          <td class="paramname"><em>instr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned&#160;</td>
          <td class="paramname"><em>addr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Impression d'une instruction sous forme lisible (désassemblage) </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">instr</td><td>l'instruction à imprimer </td></tr>
    <tr><td class="paramname">addr</td><td>son adresse </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Documentation des variables</h2>
<a class="anchor" id="a4cf35570c7b75e596c642031544688e0"></a><!-- doxytag: member="instruction.h::condition_names" ref="a4cf35570c7b75e596c642031544688e0" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="instruction_8h.html#a4cf35570c7b75e596c642031544688e0">condition_names</a>[]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Forme imprimable des conditions. </p>

</div>
</div>
<a class="anchor" id="ae5e0c6bef1ffc3adc867e3ea4b9a57c3"></a><!-- doxytag: member="instruction.h::cop_names" ref="ae5e0c6bef1ffc3adc867e3ea4b9a57c3" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* <a class="el" href="instruction_8h.html#ae5e0c6bef1ffc3adc867e3ea4b9a57c3">cop_names</a>[]</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Forme imprimable des codes opérations. </p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="instruction_8h.html">instruction.h</a>      </li>
      <li class="footer">Généré le Tue May 31 2011 11:25:41 pour Simulateur du jeu d'instructions d'un processeur simple par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
